Optimal. Leaf size=143 \[ -\frac{(b d+2 c d x)^{3/2}}{d \left (b^2-4 a c\right ) \left (a+b x+c x^2\right )}-\frac{2 c \sqrt{d} \tan ^{-1}\left (\frac{\sqrt{d (b+2 c x)}}{\sqrt{d} \sqrt [4]{b^2-4 a c}}\right )}{\left (b^2-4 a c\right )^{5/4}}+\frac{2 c \sqrt{d} \tanh ^{-1}\left (\frac{\sqrt{d (b+2 c x)}}{\sqrt{d} \sqrt [4]{b^2-4 a c}}\right )}{\left (b^2-4 a c\right )^{5/4}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.097171, antiderivative size = 143, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 6, integrand size = 26, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.231, Rules used = {687, 694, 329, 298, 203, 206} \[ -\frac{(b d+2 c d x)^{3/2}}{d \left (b^2-4 a c\right ) \left (a+b x+c x^2\right )}-\frac{2 c \sqrt{d} \tan ^{-1}\left (\frac{\sqrt{d (b+2 c x)}}{\sqrt{d} \sqrt [4]{b^2-4 a c}}\right )}{\left (b^2-4 a c\right )^{5/4}}+\frac{2 c \sqrt{d} \tanh ^{-1}\left (\frac{\sqrt{d (b+2 c x)}}{\sqrt{d} \sqrt [4]{b^2-4 a c}}\right )}{\left (b^2-4 a c\right )^{5/4}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 687
Rule 694
Rule 329
Rule 298
Rule 203
Rule 206
Rubi steps
\begin{align*} \int \frac{\sqrt{b d+2 c d x}}{\left (a+b x+c x^2\right )^2} \, dx &=-\frac{(b d+2 c d x)^{3/2}}{\left (b^2-4 a c\right ) d \left (a+b x+c x^2\right )}-\frac{c \int \frac{\sqrt{b d+2 c d x}}{a+b x+c x^2} \, dx}{b^2-4 a c}\\ &=-\frac{(b d+2 c d x)^{3/2}}{\left (b^2-4 a c\right ) d \left (a+b x+c x^2\right )}-\frac{\operatorname{Subst}\left (\int \frac{\sqrt{x}}{a-\frac{b^2}{4 c}+\frac{x^2}{4 c d^2}} \, dx,x,b d+2 c d x\right )}{2 \left (b^2-4 a c\right ) d}\\ &=-\frac{(b d+2 c d x)^{3/2}}{\left (b^2-4 a c\right ) d \left (a+b x+c x^2\right )}-\frac{\operatorname{Subst}\left (\int \frac{x^2}{a-\frac{b^2}{4 c}+\frac{x^4}{4 c d^2}} \, dx,x,\sqrt{d (b+2 c x)}\right )}{\left (b^2-4 a c\right ) d}\\ &=-\frac{(b d+2 c d x)^{3/2}}{\left (b^2-4 a c\right ) d \left (a+b x+c x^2\right )}+\frac{(2 c d) \operatorname{Subst}\left (\int \frac{1}{\sqrt{b^2-4 a c} d-x^2} \, dx,x,\sqrt{d (b+2 c x)}\right )}{b^2-4 a c}-\frac{(2 c d) \operatorname{Subst}\left (\int \frac{1}{\sqrt{b^2-4 a c} d+x^2} \, dx,x,\sqrt{d (b+2 c x)}\right )}{b^2-4 a c}\\ &=-\frac{(b d+2 c d x)^{3/2}}{\left (b^2-4 a c\right ) d \left (a+b x+c x^2\right )}-\frac{2 c \sqrt{d} \tan ^{-1}\left (\frac{\sqrt{d (b+2 c x)}}{\sqrt [4]{b^2-4 a c} \sqrt{d}}\right )}{\left (b^2-4 a c\right )^{5/4}}+\frac{2 c \sqrt{d} \tanh ^{-1}\left (\frac{\sqrt{d (b+2 c x)}}{\sqrt [4]{b^2-4 a c} \sqrt{d}}\right )}{\left (b^2-4 a c\right )^{5/4}}\\ \end{align*}
Mathematica [C] time = 0.0384849, size = 57, normalized size = 0.4 \[ \frac{16 c (d (b+2 c x))^{3/2} \, _2F_1\left (\frac{3}{4},2;\frac{7}{4};\frac{(b+2 c x)^2}{b^2-4 a c}\right )}{3 d \left (b^2-4 a c\right )^2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.194, size = 344, normalized size = 2.4 \begin{align*} 4\,{\frac{c{d}^{3} \left ( 2\,cdx+bd \right ) ^{3/2}}{ \left ( 4\,ac{d}^{2}-{b}^{2}{d}^{2} \right ) \left ( 4\,{c}^{2}{d}^{2}{x}^{2}+4\,bc{d}^{2}x+4\,ac{d}^{2} \right ) }}+{\frac{c{d}^{3}\sqrt{2}}{2}\ln \left ({ \left ( 2\,cdx+bd-\sqrt [4]{4\,ac{d}^{2}-{b}^{2}{d}^{2}}\sqrt{2\,cdx+bd}\sqrt{2}+\sqrt{4\,ac{d}^{2}-{b}^{2}{d}^{2}} \right ) \left ( 2\,cdx+bd+\sqrt [4]{4\,ac{d}^{2}-{b}^{2}{d}^{2}}\sqrt{2\,cdx+bd}\sqrt{2}+\sqrt{4\,ac{d}^{2}-{b}^{2}{d}^{2}} \right ) ^{-1}} \right ) \left ( 4\,ac{d}^{2}-{b}^{2}{d}^{2} \right ) ^{-{\frac{5}{4}}}}+{c{d}^{3}\sqrt{2}\arctan \left ({\sqrt{2}\sqrt{2\,cdx+bd}{\frac{1}{\sqrt [4]{4\,ac{d}^{2}-{b}^{2}{d}^{2}}}}}+1 \right ) \left ( 4\,ac{d}^{2}-{b}^{2}{d}^{2} \right ) ^{-{\frac{5}{4}}}}-{c{d}^{3}\sqrt{2}\arctan \left ( -{\sqrt{2}\sqrt{2\,cdx+bd}{\frac{1}{\sqrt [4]{4\,ac{d}^{2}-{b}^{2}{d}^{2}}}}}+1 \right ) \left ( 4\,ac{d}^{2}-{b}^{2}{d}^{2} \right ) ^{-{\frac{5}{4}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 2.19359, size = 2037, normalized size = 14.24 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] time = 98.0098, size = 279, normalized size = 1.95 \begin{align*} \frac{16 c d^{3} \left (b d + 2 c d x\right )^{\frac{3}{2}}}{64 a^{2} c^{2} d^{4} - 32 a b^{2} c d^{4} + 16 a c d^{2} \left (b d + 2 c d x\right )^{2} + 4 b^{4} d^{4} - 4 b^{2} d^{2} \left (b d + 2 c d x\right )^{2}} + 16 c d^{3} \operatorname{RootSum}{\left (t^{4} \left (67108864 a^{5} c^{5} d^{10} - 83886080 a^{4} b^{2} c^{4} d^{10} + 41943040 a^{3} b^{4} c^{3} d^{10} - 10485760 a^{2} b^{6} c^{2} d^{10} + 1310720 a b^{8} c d^{10} - 65536 b^{10} d^{10}\right ) + 1, \left ( t \mapsto t \log{\left (1048576 t^{3} a^{4} c^{4} d^{8} - 1048576 t^{3} a^{3} b^{2} c^{3} d^{8} + 393216 t^{3} a^{2} b^{4} c^{2} d^{8} - 65536 t^{3} a b^{6} c d^{8} + 4096 t^{3} b^{8} d^{8} + \sqrt{b d + 2 c d x} \right )} \right )\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.23593, size = 680, normalized size = 4.76 \begin{align*} \frac{\sqrt{2}{\left (-b^{2} d^{2} + 4 \, a c d^{2}\right )}^{\frac{3}{4}} c \arctan \left (\frac{\sqrt{2}{\left (\sqrt{2}{\left (-b^{2} d^{2} + 4 \, a c d^{2}\right )}^{\frac{1}{4}} + 2 \, \sqrt{2 \, c d x + b d}\right )}}{2 \,{\left (-b^{2} d^{2} + 4 \, a c d^{2}\right )}^{\frac{1}{4}}}\right )}{b^{4} d - 8 \, a b^{2} c d + 16 \, a^{2} c^{2} d} + \frac{\sqrt{2}{\left (-b^{2} d^{2} + 4 \, a c d^{2}\right )}^{\frac{3}{4}} c \arctan \left (-\frac{\sqrt{2}{\left (\sqrt{2}{\left (-b^{2} d^{2} + 4 \, a c d^{2}\right )}^{\frac{1}{4}} - 2 \, \sqrt{2 \, c d x + b d}\right )}}{2 \,{\left (-b^{2} d^{2} + 4 \, a c d^{2}\right )}^{\frac{1}{4}}}\right )}{b^{4} d - 8 \, a b^{2} c d + 16 \, a^{2} c^{2} d} - \frac{{\left (-b^{2} d^{2} + 4 \, a c d^{2}\right )}^{\frac{3}{4}} c \log \left (2 \, c d x + b d + \sqrt{2}{\left (-b^{2} d^{2} + 4 \, a c d^{2}\right )}^{\frac{1}{4}} \sqrt{2 \, c d x + b d} + \sqrt{-b^{2} d^{2} + 4 \, a c d^{2}}\right )}{\sqrt{2} b^{4} d - 8 \, \sqrt{2} a b^{2} c d + 16 \, \sqrt{2} a^{2} c^{2} d} + \frac{{\left (-b^{2} d^{2} + 4 \, a c d^{2}\right )}^{\frac{3}{4}} c \log \left (2 \, c d x + b d - \sqrt{2}{\left (-b^{2} d^{2} + 4 \, a c d^{2}\right )}^{\frac{1}{4}} \sqrt{2 \, c d x + b d} + \sqrt{-b^{2} d^{2} + 4 \, a c d^{2}}\right )}{\sqrt{2} b^{4} d - 8 \, \sqrt{2} a b^{2} c d + 16 \, \sqrt{2} a^{2} c^{2} d} + \frac{4 \,{\left (2 \, c d x + b d\right )}^{\frac{3}{2}} c d}{{\left (b^{2} d^{2} - 4 \, a c d^{2} -{\left (2 \, c d x + b d\right )}^{2}\right )}{\left (b^{2} - 4 \, a c\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]